package top.jlzhou.key.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 注册码信息
 * </p>
 *
 * @author J.L.Zhou
 * @since 2018-10-07
 */
public class Reg implements Serializable {

    private static final long serialVersionUID = 1L;

        /**
     * 序列号编号
     */
    @TableId
         private Long regId;

        /**
     * 软件编号
     */
         private Integer softId;

        /**
     * 注册手机
     */
         private String regTel;

        /**
     * 注册人
     */
         private String regName;

        /**
     * 注册设备
     */
         private String regMac;

        /**
     * 注册理由
     */
         private String regExplain;

        /**
     * 注册号
     */
         private String regNum;

        /**
     * 注册时间
     */
         private LocalDateTime regTime;

        /**
     * 是否锁定
     */
         private Boolean locked;


    public Long getRegId() {
        return regId;
    }

    public void setRegId(Long regId) {
        this.regId = regId;
    }

    public Integer getSoftId() {
        return softId;
    }

    public void setSoftId(Integer softId) {
        this.softId = softId;
    }

    public String getRegTel() {
        return regTel;
    }

    public void setRegTel(String regTel) {
        this.regTel = regTel;
    }

    public String getRegName() {
        return regName;
    }

    public void setRegName(String regName) {
        this.regName = regName;
    }

    public String getRegMac() {
        return regMac;
    }

    public void setRegMac(String regMac) {
        this.regMac = regMac;
    }

    public String getRegExplain() {
        return regExplain;
    }

    public void setRegExplain(String regExplain) {
        this.regExplain = regExplain;
    }

    public String getRegNum() {
        return regNum;
    }

    public void setRegNum(String regNum) {
        this.regNum = regNum;
    }

    public LocalDateTime getRegTime() {
        return regTime;
    }

    public void setRegTime(LocalDateTime regTime) {
        this.regTime = regTime;
    }

    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }

    @Override
    public String toString() {
        return "Reg{" +
        "regId=" + regId +
        ", softId=" + softId +
        ", regTel=" + regTel +
        ", regName=" + regName +
        ", regMac=" + regMac +
        ", regExplain=" + regExplain +
        ", regNum=" + regNum +
        ", regTime=" + regTime +
        ", locked=" + locked +
        "}";
    }
}
